//限制状态类型
export type data = Array<object | string>
//限制reducer
export type RD<s, a> = (state: s, action: a) => s
//限制actionCreator
export type ACT<p> = (params: p) => (dispatch: any, getState: any, api?: any) => void